package com.demo.alibaba.util;

import java.text.DecimalFormat;

/**
 * Created by yangshunxing on 2017/2/14.
 */
public class DowhileTest {
    public static void main(String[] args) {

      /*  int i = 0;
        int j =1;
        do{
            System.out.println(j++);
            i+=2;
        }while(i<5);*/
        int i = 1;
        int a = 6;
//        System.out.println(i/a);
//        System.out.println(i%a);

        Integer y = 510100;
        System.out.println(y/10000*10000);

        DecimalFormat df = new DecimalFormat("0.00");
        System.out.println(df.format(21.07 - 1.05));
    }
}
